package com.itheima.xmy.Demo;

public class Movie {
    private  String name;
    private  String englishName;
    private  int showTime;
    private  String actor;
    private  String director;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public int getShowTime() {
        return showTime;
    }

    public void setShowTime(int showTime) {
        this.showTime = showTime;
    }

    public String getActor() {
        return actor;
    }

    public void setActor(String actor) {
        this.actor = actor;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "name='" + name + '\'' +
                ", englishName='" + englishName + '\'' +
                ", showTime=" + showTime +
                ", actor='" + actor + '\'' +
                ", director='" + director + '\'' +
                '}';
    }

    public Movie(String 肖申克的救赎, String the_shawshank_redemption, int i) {
    }

    public Movie(String name, String englishName, int showTime, String actor, String director) {
        this.name = name;
        this.englishName = englishName;
        this.showTime = showTime;
        this.actor = actor;
        this.director = director;
    }
}
